package org.example.text;

public class Main {
    public static void main(String[] args) {
        Bank bank = new Bank();
        Account account = bank.openAccount(10002332545234L, "100123", 1);
//        System.out.println(account.getClass());
        System.out.println("开户后的余额："+account.getBalance());
        // 存钱
        bank.deposit(account,4000000);
        System.out.println("存钱后的余额："+account.getBalance());
    }
}
